class SuperClass {
    add(){
       console.log('you are right')
    }
}

class EditClass extends SuperClass{
    mul(){
        console.log('you are sb')
    }
}

let sup=new SuperClass();
let edt=new EditClass()
//sup.mul();
sup.add();
edt.add();
edt.mul();